package com.ccsu.mymarket.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "order_info")
public class OrderInfo{
    private Integer id;
    private String orderTime;
    private String payTime;
    private String deliverTime;
    private String receiveTime;
    private Integer acc;
    private Integer bookId;
    private Double sum;
    private Integer address;
    private String note;
    private Integer num;
    private Double price;
    private String coverImg;
    private String commentTime;
    private String comment;
    private Integer state;

    @TableField(exist = false)
    private String accName;
    @TableField(exist = false)
    private String bookTitle;
    @TableField(exist = false)
    private String addressDetail;
    @TableField(exist = false)
    private String reciever;
    @TableField(exist = false)
    private String phone;
}
